package com.example.demo;

import org.springframework.context.annotation.*;

/**
 * @Description:
 * @Author: LiangJiawen
 * @Create Date Time: 2021/4/19 14:17.
 * @Update Date Time: 
 * @see
 */
@Configuration
@ComponentScan("com.example.demo")
@EnableAspectJAutoProxy
public class MyConfig {

    @Bean(initMethod = "init")
    public MyTest myTest(){
        return new MyTest();
    }

}
